gtk-demo: Add a way to launch individual demos
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2015 02:36:00 +0000 (22:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2015 21:11:33 +0000 (17:11 -0400)
commite559a310c6cd45fe14ff78a7115da50aac644d50
tree9425b8484f606b109f07d003fceb955632be6b4a
parent9cd7f97d03ac53d71ab08d8e17bffc48151eea35
gtk-demo: Add a way to launch individual demos

Add a --run option which takes the name of an example and
launches it. Also add a --autoquit option which can be used
to quit after a given number of seconds.
demos/gtk-demo/main.c